Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-DeviceUseRequest2to3.html |
Url | http://hl7.org/fhir/StructureMap/DeviceUseRequest2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | DeviceUseRequest2to3 |
Title | DeviceUseRequest Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | DeviceUseRequestTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/DeviceUseRequest2to3' /// name = 'DeviceUseRequest2to3' /// title = 'DeviceUseRequest Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/DeviceUseRequest" alias DeviceUseRequestR2 as source uses "http://hl7.org/fhir/3.0/DeviceRequest" alias DeviceRequest as target imports "http://hl7.org/fhir/StructureMap/*2to3" group DeviceUseRequest(source src : DeviceUseRequestR2, target tgt : DeviceRequest) extends DomainResource <<type+>> { src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceUseRequest.status-R2toR3', 'code') "DeviceUseRequest-status"; src.device -> tgt.device "DeviceUseRequest-device"; src.encounter -> tgt.context "DeviceUseRequest-context"; src.identifier -> tgt.identifier "DeviceUseRequest-identifier"; src.indication -> tgt.reasonCode "DeviceUseRequest-reasonCode"; src.notes -> tgt.note "DeviceUseRequest-notes"; src.orderedOn -> tgt.authored "DeviceUseRequest-authored"; src.subject -> tgt.subject "DeviceUseRequest-subject"; src.timing -> tgt.occurrence "DeviceUseRequest-Timing"; }
{
"resourceType" : "StructureMap",
"id" : "DeviceUseRequest2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/DeviceUseRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DeviceUseRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DeviceUseRequest Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/DeviceUseRequest<span style=\"color: navy\">" </span><b>alias </b>DeviceUseRequestR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/DeviceRequest<span style=\"color: navy\">" </span><b>alias </b>DeviceRequest <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>DeviceUseRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceUseRequestR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceRequest<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/DeviceUseRequest.status-R2toR3'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"DeviceUseRequest-status"</i><span style=\"color: navy\">;</span>\r\n src.device<span style=\"color: navy\"><b> -> </b></span>tgt.device <i>"DeviceUseRequest-device"</i><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.context <i>"DeviceUseRequest-context"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"DeviceUseRequest-identifier"</i><span style=\"color: navy\">;</span>\r\n src.indication<span style=\"color: navy\"><b> -> </b></span>tgt.reasonCode <i>"DeviceUseRequest-reasonCode"</i><span style=\"color: navy\">;</span>\r\n src.notes<span style=\"color: navy\"><b> -> </b></span>tgt.note <i>"DeviceUseRequest-notes"</i><span style=\"color: navy\">;</span>\r\n src.orderedOn<span style=\"color: navy\"><b> -> </b></span>tgt.authored <i>"DeviceUseRequest-authored"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"DeviceUseRequest-subject"</i><span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"DeviceUseRequest-Timing"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/DeviceUseRequest2to3",
"version" : "0.1.0",
"name" : "DeviceUseRequest2to3",
"title" : "DeviceUseRequest Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "DeviceUseRequestTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/DeviceUseRequest",
"mode" : "source",
"alias" : "DeviceUseRequestR2"
},
{
"url" : "http://hl7.org/fhir/3.0/DeviceRequest",
"mode" : "target",
"alias" : "DeviceRequest"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "DeviceUseRequest",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DeviceUseRequestR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceRequest",
"mode" : "target"
}
],
"rule" : [
{
"name" : "DeviceUseRequest-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/DeviceUseRequest.status-R2toR3"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "DeviceUseRequest-device",
"source" : [
{
"context" : "src",
"element" : "device",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "device",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-context",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "context",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-reasonCode",
"source" : [
{
"context" : "src",
"element" : "indication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reasonCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-notes",
"source" : [
{
"context" : "src",
"element" : "notes",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-authored",
"source" : [
{
"context" : "src",
"element" : "orderedOn",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "authored",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseRequest-Timing",
"source" : [
{
"context" : "src",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.